<?php
namespace App\Repository\Contracts;

/**
 * @Author:: HuangYin
 * @DateTime: 2017-01-22 17:25
 *
 * @Description: 同步
 */
interface ShoppingJavaInterface
{
    /**
     * 购物单[定时任务]
     *
     * @param $storeId
     * @param array $data
     * @return mixed
     */
    public function syncShopping($storeId, array $data);

    /**
     * 退货单[定时任务]
     *
     * @param $storeId
     * @param array $data
     * @return mixed
     */
    public function syncRefund($storeId, array $data);

    /**
     * 收款单
     *
     * @param $storeId
     * @param array $data
     * @return mixed
     */
    public function syncShoppingAmount($storeId, array $data);

    /**
     * 退款单
     *
     * @param $storeId
     * @param array $data
     * @return mixed
     */
    public function syncRefundAmount($storeId, array $data);
}